<?php
		if(isset($_GET['search_for'])){
			$searchfor = $_GET['search_for'];
			header("Location: ../Views/searchresult.php?result_for=$searchfor");
		}
		else{
			header("Location: ../Views/index.php");
		}
?>